//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.wsd.smartcarwasher.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Collections;
import java.util.List;

@ApiModel("会员卡")
public class Card {
    @ApiModelProperty("会员卡id")
    private Integer id;
    @ApiModelProperty("会员卡背景图片url")
    private String avatar;
    @ApiModelProperty("会员卡名称")
    private String name;
    @ApiModelProperty("描述")
    private String desc;
    @ApiModelProperty("适用的门店name，中间使用逗号隔开")
    private String availableMachines;
    @ApiModelProperty("当前售价")
    private BigDecimal price;
    @ApiModelProperty("原价")
    private BigDecimal originPrice;
    @ApiModelProperty("权益")
    private String rights;
    @ApiModelProperty("注意事项")
    private String tips;
    @ApiModelProperty("状态")
    private int status;
    @ApiModelProperty("有效时长")
    private int validDate;
    @ApiModelProperty("会员卡样式")
    private  String style;
//    @ApiModelProperty("特定会员卡用户")
//    private  String specificUser;
    @ApiModelProperty(value = "会员卡类型 1-普通会员卡，2-折扣会员卡")
    private int type;
    @ApiModelProperty(value = "优惠百分比")
    private BigDecimal cardRate;

    @ApiModelProperty(value = "促销活动会员卡")
    private Integer activityCard;

    public Integer getActivityCard() {
        return activityCard;
    }

    public void setActivityCard(Integer activityCard) {
        this.activityCard = activityCard;
    }

    public BigDecimal getCardRate() {
        return cardRate;
    }

    public void setCardRate(BigDecimal cardRate) {
        this.cardRate = cardRate;
    }

    private List<WashServiceWithTimes> serviceList;
    private List<Machine> machineList;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    public Card() {
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAvatar() {
        return this.avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return this.desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getAvailableMachines() {
        return this.availableMachines;
    }

    public void setAvailableMachines(String availableMachines) {
        this.availableMachines = availableMachines;
    }

    public BigDecimal getPrice() {
        return this.price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getOriginPrice() {
        return this.originPrice;
    }

    public void setOriginPrice(BigDecimal originPrice) {
        this.originPrice = originPrice;
    }

    public String getRights() {
        return this.rights;
    }

    public void setRights(String rights) {
        this.rights = rights;
    }

    public String getTips() {
        return this.tips;
    }

    public void setTips(String tips) {
        this.tips = tips;
    }

    public int getStatus() {
        return this.status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getValidDate() {
        return this.validDate;
    }

    public void setValidDate(int validDate) {
        this.validDate = validDate;
    }

    public List<WashServiceWithTimes> getServiceList() {
        return this.serviceList == null ? Collections.emptyList() : this.serviceList;
    }

    public void setServiceList(List<WashServiceWithTimes> serviceList) {
        this.serviceList = serviceList;
    }

    public List<Machine> getMachineList() {
        return this.machineList == null ? Collections.emptyList() : this.machineList;
    }

    public void setMachineList(List<Machine> machineList) {
        this.machineList = machineList;
    }
}
